FROM frolvlad/alpine-oraclejdk8:slim

MAINTAINER 小策一喋 xvpindex@qq.com

VOLUME /tmp

# 添加资源文件到容器
#ADD classes/bootstrap-test.yml  /tmp/zysd/misboot/misboot-document/target/bootstrap-boot.yml
ADD misboot-document.jar /tmp/zysd/misboot-vue/misboot-document/target/misboot-document.jar

# 定义默认命令
ENTRYPOINT ["java", "-Xms128m", "-Xmx256m", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/tmp/zysd/misboot-vue/misboot-document/target/misboot-document.jar", "--spring.config.location=/home/zuoyo/misboot-vue/bootstrap/document.yml"]